﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowCore2210A.Domain.Model
{
    public abstract class BaseEntity
    {
        public string ID { get; set; }

        public string? CreatedUserId { get; set; }
        public string? UpdatedUserId { get; set; }

        [MaxLength(100)]
        public string? UpdateUserName { get; set; }
        [MaxLength(100)]
        public string? CreatedUserName { get; set; }


        public DateTime CreatedTime { get; set; } = DateTime.Now;
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        public bool IsDeleted { get; set; }
    }
    
}
